package com.yn.service.zy;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yn.common.model.zy.TCareforInfoDO;
import com.yn.common.page.BasePage;
import com.yn.common.request.driver.CareforRequest;
import com.yn.common.request.sc.CarManageRequest;
import com.yn.service.zy.model.query.TCareforInfoQuery;

import java.util.List;
import java.util.Map;

public interface TCareforInfoService extends IService<TCareforInfoDO> {
    /**
     * 分页获取陪护相关接口
     * @param query
     * @param basePage
     * @return
     */
    IPage<TCareforInfoDO> listPage(TCareforInfoQuery query, BasePage basePage);

    /**
     * 批量审核
     * @param careforIds
     * @param auditStatus
     */
    void batchAudit(List<Integer> careforIds, Integer auditStatus);

    /**
     * 添加陪护人员
     * @param request
     */
    void saveCarefor(CareforRequest request);


}

